package com.lq.createPattern.factory.before;

public class BeforeClient {
    public static void main(String[] args) {
        CoffeStore coffeStore = new CoffeStore();
        Coffee coffee = coffeStore.orderCofee("american");
        coffee.addMilk();
        coffee.addSugar();
        coffee.getName();
        CoffeStore coffeStore1 = new CoffeStore();
        Coffee coffee1 = coffeStore1.orderCofee("a");
        coffee1.addMilk();
        coffee1.addSugar();
        coffee1.getName();
    }
}
